/**
 * MaleHumanFactory.java
 * create by Lisq
 * date 2014-3-3
 */
package com.lsq.chou_xiang_gong_chang_mo_shi.factory;

import com.lsq.chou_xiang_gong_chang_mo_shi.Human;
import com.lsq.chou_xiang_gong_chang_mo_shi.HumanEnum;

/**
 * @author Lisq
 * 男性创建工厂
 */
public class MaleHumanFactory extends AbstractHumanFactory {

	//创建一个男性黄种人
	public Human createYellowHuman() {
		return super.createHuman(HumanEnum.YelloMaleHuman); 
	}

	//创建一个男性白种人
	public Human createWhiteHuman() {
		return super.createHuman(HumanEnum.WhiteMaleHuman);
	}

	//创建一个男性黑种人
	public Human createBlackHuman() {
		return super.createHuman(HumanEnum.BlackMaleHuman);
	}

}
